package com.njust.service;

import com.njust.dataobject.GearInfo;
import com.njust.form.RequestGear;
import com.njust.form.TableQueryByState;
import com.njust.vo.MotorVO;
import com.njust.vo.ResultVO;

import java.text.ParseException;
import java.util.List;

/**
 * Description:
 * Create by User: HorseChestnut
 * Date: 2018-01-06
 */
public interface TablesService {

    ResultVO getTrainInfos(TableQueryByState table) throws ParseException;

    List<MotorVO> getMotorInfoByTrainId(Long trainOnlyid);

    GearInfo getGearByGearId(Long gearId);

    ResultVO getGearInfoByCondition(RequestGear requestGear) throws ParseException;


}
